package com.itbaizhan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/c6")
public class MyController6 {

    @DeleteMapping("/delete")
    public String del(){
        System.out.println("删除");
        return "baizhan";
    }

    @PutMapping("/update")
    public String update(){
        System.out.println("更新");
        return "baizhan";
    }

}
